package com.dalin.platform.etl.condition;

import com.dalin.common.pager.Condition;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-11-30                                                     *
 * @modDate: 2010-11-30                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class EtlColumnInfoCondition extends Condition{
	private Long tableId;
    private String columnName; // COLUMN_ENGLISH_NAME,128,0
    private String columnComment; // COLUMN_CHINESE_NAME,256,0
    private String remark; // REMARK,256,0

    public EtlColumnInfoCondition prepareParams() {
        setBaseQueryStr("from EtlColumnInfoEntity h");
        setParam("h.tableId", "=", tableId);
        setParam("h.columnName", "like", "%" + columnName + "%");
        setParam("h.columnComment", "like", "%" + columnComment + "%");
        setParam("h.remark", "like", "%" + remark + "%");
        setOrderBy("h.columnId desc");
        return this;
    }

    
    
    
    
	public Long getTableId() {
		return tableId;
	}

	public void setTableId(Long tableId) {
		this.tableId = tableId;
	}
	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getColumnComment() {
		return columnComment;
	}





	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}





	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
